const mongoose = require("mongoose")

const schema = new mongoose.Schema({
  username: { type: String },
  password: {
    type: String,
    select: false  //为了安全性，让密码默认不被查出来，有需要再改为true
  }
})

module.exports = mongoose.model('Admin', schema)